local ui = {}
function ui.init(parent)
	-- Create CloseLayout
	local CloseLayout = GUI:Layout_Create(parent, "CloseLayout", 0.00, 0.00, 1136.00, 640.00, false)
	GUI:Layout_setBackGroundColorType(CloseLayout, 1)
	GUI:Layout_setBackGroundColor(CloseLayout, "#000000")
	GUI:Layout_setBackGroundColorOpacity(CloseLayout, 76)
	GUI:setTouchEnabled(CloseLayout, true)
	GUI:setTag(CloseLayout, -1)

	-- Create FrameLayout
	local FrameLayout = GUI:Layout_Create(parent, "FrameLayout", 568.00, 384.00, 645.00, 460.00, false)
	GUI:setAnchorPoint(FrameLayout, 0.50, 0.50)
	GUI:setTouchEnabled(FrameLayout, true)
	GUI:setTag(FrameLayout, -1)

	-- Create FrameBG
	local FrameBG = GUI:Image_Create(FrameLayout, "FrameBG", 0.00, 0.00, "res/public_win32/1900000610.png")
	GUI:setTouchEnabled(FrameBG, false)
	GUI:setTag(FrameBG, -1)

	-- Create DressIMG
	local DressIMG = GUI:Image_Create(FrameLayout, "DressIMG", 17.00, 443.00, "res/public_win32/1900000610_1.png")
	GUI:setAnchorPoint(DressIMG, 0.50, 0.50)
	GUI:setTouchEnabled(DressIMG, false)
	GUI:setTag(DressIMG, -1)

	-- Create TitleText
	local TitleText = GUI:Text_Create(FrameLayout, "TitleText", 23.00, 437.00, 14, "#d8c8ae", [[求购]])
	GUI:setAnchorPoint(TitleText, 0.00, 0.50)
	GUI:setTouchEnabled(TitleText, false)
	GUI:setTag(TitleText, -1)
	GUI:Text_enableOutline(TitleText, "#000000", 2)

	-- Create CloseButton
	local CloseButton = GUI:Button_Create(FrameLayout, "CloseButton", 640.00, 435.00, "res/public/1900000510.png")
	GUI:Button_loadTexturePressed(CloseButton, "res/public/1900000511.png")
	GUI:Button_setTitleText(CloseButton, "")
	GUI:Button_setTitleColor(CloseButton, "#ffffff")
	GUI:Button_setTitleFontSize(CloseButton, 10)
	GUI:Button_titleEnableOutline(CloseButton, "#000000", 1)
	GUI:setAnchorPoint(CloseButton, 0.00, 0.50)
	GUI:setTouchEnabled(CloseButton, true)
	GUI:setTag(CloseButton, -1)

	-- Create ListView_group
	local ListView_group = GUI:ListView_Create(FrameLayout, "ListView_group", 22.00, 417.00, 410.00, 30.00, 2)
	GUI:ListView_setGravity(ListView_group, 3)
	GUI:setAnchorPoint(ListView_group, 0.00, 1.00)
	GUI:setTouchEnabled(ListView_group, false)
	GUI:setTag(ListView_group, 59)

	-- Create Panel_search
	local Panel_search = GUI:Layout_Create(FrameLayout, "Panel_search", 624.00, 385.00, 200.00, 35.00, false)
	GUI:setAnchorPoint(Panel_search, 1.00, 0.00)
	GUI:setTouchEnabled(Panel_search, true)
	GUI:setTag(Panel_search, 28)

	-- Create Image_1
	local Image_1 = GUI:Image_Create(Panel_search, "Image_1", 20.00, 16.00, "res/public/btn_szjm_02.png")
	GUI:setAnchorPoint(Image_1, 0.50, 0.50)
	GUI:setTouchEnabled(Image_1, false)
	GUI:setTag(Image_1, 29)

	-- Create ImageView
	local ImageView = GUI:Image_Create(Panel_search, "ImageView", 32.00, 17.00, "res/public/1900000668.png")
	GUI:Image_setScale9Slice(ImageView, 52, 52, 12, 8)
	GUI:setContentSize(ImageView, 104, 28)
	GUI:setIgnoreContentAdaptWithSize(ImageView, false)
	GUI:setAnchorPoint(ImageView, 0.00, 0.50)
	GUI:setTouchEnabled(ImageView, false)
	GUI:setTag(ImageView, -1)

	-- Create SearchInput
	local SearchInput = GUI:TextInput_Create(Panel_search, "SearchInput", 35.00, 17.00, 100.00, 20.00, 12)
	GUI:TextInput_setString(SearchInput, "")
	GUI:TextInput_setPlaceHolder(SearchInput, "请输入物品名")
	GUI:TextInput_setFontColor(SearchInput, "#ffffff")
	GUI:TextInput_setMaxLength(SearchInput, 10)
	GUI:setAnchorPoint(SearchInput, 0.00, 0.50)
	GUI:setTouchEnabled(SearchInput, true)
	GUI:setTag(SearchInput, 30)

	-- Create Button_confirm
	local Button_confirm = GUI:Button_Create(Panel_search, "Button_confirm", 170.00, 17.00, "res/public/btn_fanye_03.png")
	GUI:Button_loadTexturePressed(Button_confirm, "res/public/btn_fanye_03_1.png")
	GUI:Button_loadTextureDisabled(Button_confirm, "Default/Button_Disable.png")
	GUI:Button_setScale9Slice(Button_confirm, 15, 15, 12, 10)
	GUI:setContentSize(Button_confirm, 63, 29)
	GUI:setIgnoreContentAdaptWithSize(Button_confirm, false)
	GUI:Button_setTitleText(Button_confirm, "")
	GUI:Button_setTitleColor(Button_confirm, "#f8e6c6")
	GUI:Button_setTitleFontSize(Button_confirm, 12)
	GUI:Button_titleEnableOutline(Button_confirm, "#111111", 2)
	GUI:setAnchorPoint(Button_confirm, 0.50, 0.50)
	GUI:setTouchEnabled(Button_confirm, true)
	GUI:setTag(Button_confirm, 31)

	-- Create Text
	local Text = GUI:Text_Create(Button_confirm, "Text", 32.00, 13.00, 14, "#f8e6c6", [[确 认]])
	GUI:setAnchorPoint(Text, 0.50, 0.50)
	GUI:setTouchEnabled(Text, false)
	GUI:setTag(Text, -1)
	GUI:Text_enableOutline(Text, "#000000", 2)

	-- Create AttachLayout
	local AttachLayout = GUI:Layout_Create(FrameLayout, "AttachLayout", 18.00, 28.00, 608.00, 391.00, false)
	GUI:setTouchEnabled(AttachLayout, false)
	GUI:setTag(AttachLayout, -1)
end
return ui